StellarPay\PaymentGateways\Stripe\RestApi\Webhook S

Total Complexity 19
Dependencies 16
Dependents 6
Total lines 259
Lines of code 108
Logical lines of code 54
Comment lines 78
Methods 11
Properties 9

Methods 11

Method Rating Maintainability Complexity Lines of code
processWebhook()
S
51 4 26
getWebhookSecretKey()
S
64 4 11
handleRestApiError()
S
61 2 13
getPaymentGatewayMode()
S
72 2 5
getRoutes()
S
64 1 12
permissionCheck()
S
63 1 11
__construct()
S
69 1 7
getEndpointByMode()
S
80 1 3
onWebhookReceived()
S
77 1 4
afterWebhookProcessed()
S
69 1 7
onWebhookProcessingError()
S
64 1 9